package com.grom.dao;

import java.util.List;

import com.grom.po.BrandVisitHistory;
import com.grom.po.ContactInfo;
import com.grom.po.Customer;

public interface CustomerDao {
	CustomerDao instance = new CustomerDaoImpl();

	void save(Customer customer, List<ContactInfo> conList,List<BrandVisitHistory> historyList);
	
	void delete(Customer customer);
	
	void update(Customer customer, List<ContactInfo> conList,List<BrandVisitHistory> historyList);
	
	List<Customer> getAllCustomer();
	
	Customer getCustomerById(String ID);
	
	List<Customer> selectByCondition(String sql);
}
